package com.itheima.service;

import com.itheima.domain.Account;

import java.util.List;

public interface AccountService {

    //添加
    void save(Account account);

    //删除
    void delete(String name);

    //修改
    void updata(Account account);

    //查询
    Account findByName(String name);

    //查询所有
    List<Account> findAll();


}
